#pragma once
#include <GLES2\gl2.h>

class ShaderManager
{
public:
	GLuint m_mainShader;
	GLint m_mainShaderMVP;

public:
	ShaderManager(void);
	~ShaderManager(void);

	bool Initialize();
	GLuint CreateShader(GLenum type, const char* pSource);
	bool CheckShader(GLint shader);
	bool CompileShaders(GLuint *shaderProg, const char *vertexSrc, const char *fragmentSrc);

	void UseMainShader();
};

